package com.skeleton.db.entity;

import com.skeleton.db.dto.BlogTagDto;

public class BlogTag {

	private int tag_id;
	private String tagname;
	private char type;
	private int use_cnt;
	private char status;
	private int seq;

	public BlogTagDto toDto() {
		BlogTagDto dto = new BlogTagDto();
		dto.setTagId(tag_id);
		dto.setTagname(tagname);
		dto.setTagType(type);
		dto.setTagUseCnt(use_cnt);
		dto.setTagStatus(status);
		dto.setTagSeq(seq);
		return dto;
	}

	public int getTag_id() {
		return tag_id;
	}

	public void setTag_id(int tag_id) {
		this.tag_id = tag_id;
	}

	public String getTagname() {
		return tagname;
	}

	public void setTagname(String tagname) {
		this.tagname = tagname;
	}

	public char getType() {
		return type;
	}

	public void setType(char type) {
		this.type = type;
	}

	public int getUse_cnt() {
		return use_cnt;
	}

	public void setUse_cnt(int use_cnt) {
		this.use_cnt = use_cnt;
	}

	public char getStatus() {
		return status;
	}

	public void setStatus(char status) {
		this.status = status;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

}
